<?php

namespace app\shop\enums\user;

use app\shop\enums\BaseEnum;

class UserMoneyChangeType extends BaseEnum
{
    const SYSTEM_OPERATE = 1;
    const ORDER_PAY      = 2;
    const ORDER_REFUND   = 3;
    const RECHARGE       = 4;
    const SYSTEM_GIVE    = 5;
    const STORAE    = 6;
    const EXTRACT    = 7;
    const COMMISSION    = 8;
    const INCOME    = 9;

    const GIFT    = 10;

    protected static array $descriptions = [
        self::SYSTEM_OPERATE => '系统操作',
        self::ORDER_PAY      => '订单支付',
        self::ORDER_REFUND   => '订单退款',
        self::RECHARGE       => '用户充值',
        self::STORAE    =>  '用户存储',
        self::EXTRACT    => '用户提取',
        self::COMMISSION    => '分销分佣',
        self::INCOME    => '每日收益',
        self::GIFT    => '首次存储',
    ];
}